////////////////////////////////////////////////////////////////////////////////
// Filename: ModelPosture.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _ModelPosture_H_
#define _ModelPosture_H_

#include <vector>
#include <map>
#include <string>

class TiXmlElement;
class ModelPostureBone;

class ModelPosture
{
public:
	ModelPosture();
	ModelPosture(const ModelPosture&);
	~ModelPosture();

	void Initialize(TiXmlElement* pModelPostureElement);

	ModelPostureBone* GetModelPostureBoneByName(std::string pBoneName);

	std::string GetName();
	int GetDuration();
protected:
	int mId;
	int mDuration;
	std::string mName;
	std::vector<ModelPostureBone*> mModelPostureBones;
	std::map<std::string,ModelPostureBone*> mBoneNameToPostureBones;
};

#endif